package com.lagou.demo.service;

import com.lagou.demo.pojo.User;

import java.util.List;

/**
 * @Classname IUserService
 * @Description TODO
 * @Date 2020/12/14 19:50
 * @Created by yang
 */
public interface IUserService {


    boolean checkToken(String token);

    public void insertUser(String email, String token);

    public void save(User user);

    public User findById(Long id);

    public User findOne(User user);

    public void deleteById(Long id);

    public List<User> findAll();

}
